#pragma once
#include "down/Download.h"
class CFileDownloader
	:public IDownloadEvent
{
public:
	CFileDownloader(void);
	~CFileDownloader(void);
		
	bool DownloadExtraData(std::string sUrl, std::string sDestFile);

	//-------------------------------------------
	//IDownloadEvent
	//-------------------------------------------
	virtual void OnDownloadFailed(DWORD error);
	virtual void OnDownloadSuccessed(int nOK);
protected:
	CDownload* m_pDownloader;
};

